- page_title _("Terminal for environment"), @environment.name
- add_page_specific_style 'page_bundles/terminal'

.top-area.gl-items-center.gl-pt-4
  = render ::Layouts::PageHeadingComponent.new("#{_("Terminal for environment")} #{@environment.name}")

  .gl-flex-shrink-0{ class: "@lg/panel:gl-ml-auto" }
    - if @environment.external_url.present?
      = link_button_to nil, @environment.external_url, target: '_blank', rel: 'noopener noreferrer nofollow', icon: 'external-link'
    = render 'projects/deployments/actions', deployment: @environment.last_deployment

.terminal-container
  #terminal.gl-mt-4{ data: { project_path: "#{terminal_project_environment_path(@project, @environment)}.ws" } }
